package com.joysuch.wwyt.mh.mapper;

import com.joysuch.wwyt.mh.dto.CustomizeMonitorTypeSelectDto;
import com.joysuch.wwyt.mh.entity.CustomizeMonitorType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.mh.dto.MhMonitorPointAndTypeDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jingwk
 * @since 2021-07-05
 */
public interface CustomizeMonitorTypeMapper extends BaseMapper<CustomizeMonitorType> {

    List<CustomizeMonitorTypeSelectDto> allType(String companyCode, Long tenantId);

    List<MhMonitorPointAndTypeDto> getRandomData();
    
    String getOrgCodeByPoint(String code);
}
